/*
Style sheet for the Stopwatch Applet with Monitoring and Shutdown.
The stylesheet can be edited by the user but will be overwritten when the applet is updated.
There is a way to gain 'persistence' described at the end of this file.
*/

.stopwatch {
    border: solid 2px rgba(127,127,127,0.3);
    margin: 1px;
    padding: 0 2px;

    border-radius: 5px 5px 2px 2px;
    border-color: rgba(127,127,127,1);

    text-align: center;
    font-size: 10px;
	line-height: 9px;
}

.stopwatch-ready {
	background-color: rgba(127,127,127,0.3);
    border-color: rgba(127,127,127,1);
}

.stopwatch-running {
	background-color: rgba(0,255,0,0.3);
    border-color: rgba(0,255,0,0.5);
}

.stopwatch-paused {
	background-color: rgba(255,165,0,0.5);
    border-color: rgba(255,165,0,0.7);
}

.stopwatch-day-exceeded {
	background-color: rgba(127,127,127,0.3);
    border-color: red;
    border: 2px;
    border-radius: 5px 5px 2px 2px;
    text-align: center;
    font-size: 10px;
	line-height: 9px;
}

.stopwatch-running-day-exceeded {
    background-color: rgba(0,255,0,0.3);
    border-color: red;
    border: 2px;
    border-radius: 5px 5px 2px 2px;
    text-align: center;
    font-size: 10px;
	line-height: 9px;
}

.stopwatch-paused-day-exceeded {
	background-color: rgba(255,165,0,0.3);
    border-color: red;
    border: 2px;
    border-radius: 5px 5px 2px 2px;
    text-align: center;
    font-size: 10px;
	line-height: 9px;
}

/*
Persistence
The applet checks for a file called stylesheet.css in folder stopwatch@pdcurtis in your Home Folder.
if this is present then the default stylesheet is overwritten the next time the applet is started.
A further restart of the applet is then required before the applet uses the new stylesheet.
An extra restart of the applet is also required after an update.
The quickest way to restart Cinnamon is by the keyboard shortcut Ctrl+Alt+Esc
Login out and back in also restarts Cinnamon or a Right click on the Panel -> Troubleshoot -> Restart Cinnamon
A way to avoid these restarts is being sought but it is intended to maintain the default position for a user stylesheet.
*/

